package com.neuedu.vo;

import java.math.BigDecimal;

public class CartProductVo {
    //-购物车 与 商品结合 对象
    private Integer id;
    private Integer userId;
    private Integer productId;
    //-购物车中每个商品的数量
    private Integer quantity;
    private String productName;
    private String productSubTitle;
    private String productMainImage;
    private BigDecimal prodcutPrice;
    private BigDecimal productTotalPrice;
    private Integer productChecked;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductSubTitle() {
        return productSubTitle;
    }

    public void setProductSubTitle(String productSubTitle) {
        this.productSubTitle = productSubTitle;
    }

    public String getProductMainImage() {
        return productMainImage;
    }

    public void setProductMainImage(String productMainImage) {
        this.productMainImage = productMainImage;
    }

    public BigDecimal getProdcutPrice() {
        return prodcutPrice;
    }

    public void setProdcutPrice(BigDecimal prodcutPrice) {
        this.prodcutPrice = prodcutPrice;
    }

    public BigDecimal getProductTotalPrice() {
        return productTotalPrice;
    }

    public void setProductTotalPrice(BigDecimal productTotalPrice) {
        this.productTotalPrice = productTotalPrice;
    }

    public Integer getProductChecked() {
        return productChecked;
    }

    public void setProductChecked(Integer productChecked) {
        this.productChecked = productChecked;
    }

    @Override
    public String toString() {
        return "CartProductVo{" +
                "id=" + id +
                ", userId=" + userId +
                ", productId=" + productId +
                ", quantity=" + quantity +
                ", productName='" + productName + '\'' +
                ", productSubTitle='" + productSubTitle + '\'' +
                ", productMainImage='" + productMainImage + '\'' +
                ", prodcutPrice=" + prodcutPrice +
                ", productTotalPrice=" + productTotalPrice +
                ", productChecked=" + productChecked +
                '}';
    }
}
